package com.mjlf.framework.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @auther a123
 * @create 2018-08-25 16:33
 * @desc 注入配置信息
 * cls 支持String, Integer, Double, Long
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Value {
    String value();
    Class<?> cls() default String.class;
}
